package com.my.study.entity;

import java.io.Serializable;

/**
 * @author: yidujun
 * @create: 2021/03/16 11:22
 */
public class User implements Serializable {
    private static final long serialVersionUID = 810037810278604216L;

    private Long id;
    private String userName;
    private String pwd;

    public User() {}

    public User(Long id, String userName, String pwd) {
        this.id = id;
        this.userName = userName;
        this.pwd = pwd;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
